Move the gtk_shadow_type check down to gtk_render_frame
authorMatthias Clasen <mclasen@redhat.com>
Mon, 17 Sep 2012 03:25:40 +0000 (23:25 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 17 Sep 2012 03:28:06 +0000 (23:28 -0400)
commitbc17073a2580c27161be5c620a43f4fa44c98a50
treec8bf12dff4fb3fb1adafd7eef6e8c41440daf567
parentaf5ecd77e3f0d7f093a4a311bbf628980875ef36
Move the gtk_shadow_type check down to gtk_render_frame

In gtk_menu_bar_draw, the check for shadow type != none
disables rendering of the background instead of the frame.
The check should be moved down to gtk_render_frame.
Patch by Peter de Ridder,
http://bugzilla.gnome.org/show_bug.cgi?id=670390
gtk/gtkmenubar.c